<!DOCTYPE html>

<html>
    <head>
        <title>Cadastrar Série</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="css/bootstrap.css" rel="stylesheet">
        <link href="css/bootstrap-responsive.css" rel="stylesheet">
  	<link href="css/stilo.css" rel="stylesheet">
        <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
        <script src="js/html5shiv.js"></script>
        <![endif]-->
    </head>
    <body>
       <div class="container">
           <?php include "topo.html"; ?>
           <?php include "menu.php"; ?>
           
           <!------------------------------------------Inicio do Conteudo------------------------------------->
		<section>
			<div id="conteudo">
				<div class="row-fluid">
					<div class="span12">
						<div class="titulo">
                                                    <p><b>Cadastrar Série</b></p>
						</div>
						<div class="bordas">
                                                    <div>
                                                        <div> <p class="alert-info">Os Campos com * são Obrigatorios</p></div>
                                                        <form class="form-horizontal serie" method="POST" action="index.php?pg=InserirSerie">
                                                        <fieldset>

                                                        <!-- Text input-->
                                                        <div class="control-group">
                                                          <label class="control-label" for="serie">Nome da Série*</label>
                                                          <div class="controls">
                                                            <input id="serie" name="serie" placeholder="" class="input-xlarge" type="text">

                                                          </div>
                                                        </div>

                                                        <!-- Multiple Radios -->
                                                        <div class="control-group">
                                                          <label class="control-label" for="status">Selecione o Status*</label>
                                                          <div class="controls">
                                                            <label class="radio" for="status-0">
                                                              <input name="status" id="status-0" value="1" type="radio">
                                                              Ativado
                                                            </label>
                                                            <label class="radio" for="status-1">
                                                              <input name="status" id="status-1" value="0" type="radio">
                                                              Desativado
                                                            </label>
                                                          </div>
                                                        </div>

                                                        <!-- Button -->
                                                        <div class="control-group">
                                                          <label class="control-label" for="salvar"></label>
                                                          <div class="controls">
                                                            <button id="salvar" name="salvar" class="btn btn-primary">Salvar</button>
                                                          </div>
                                                        </div>

                                                        </fieldset>
                                                        </form>
                                                        <div class="row-fluid">                                                      
														<div class="span12 table-responsive">
                                                        <table class="table">
                                                            <tr>
                                                                <th>Série</th>
                                                                <th>Alterar</th>
                                                            </tr>
                                                            <?php
                                                            foreach ($ver as $dados) {
                                                                echo '
                                                                <tr>
                                                                <td>'.$dados->ser_nome.'</td>
                                                                <td><a href="index.php?pg=EditarSerie&id='.$dados->id.'" class="btn">Editar</a></td>
                                                                </tr>';
    
                                                            }
                                                            
                                                            ?>
                                                        </table>
														</div>
														</div>
  
                                                    </div>
						</div>
					</div>	
				</div>
			</div> <!-- Fim da linha conteudo -->
		</section><!-- ----------------------------------------fim do Conteudo----------------------------------- -->

           
           <?php include "rodape.html"; ?>
           
           
       </div><!-- fim da div container -->    
        
        
    <!-- Arquivos Javascripts ================================================== -->
    <script src="js/jquery-1.10.2.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/jquery.validate.js"></script>
    <script src="js/validaformserie.js"></script>
    </body>
</html>

